<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<script>
shortcut.add("b",function() {
	//alert("Buy trade product..");
	newwindow = window.open('buy.html','popupWindow','toolbar=no,location=no,top=300,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1200,height=230');
	//location.href="buy.html";
});
shortcut.add("s",function() {
	//alert("sell trade product..");
	newwindow = window.open('sell.html','popupWindow','toolbar=no,location=no,top=300,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1200,height=230');
	//location.href="sell.html";
});

</script>
<style>
.CSSTableGenerator {
	margin:0px;padding:0px;
	width:100%;
	height:50%;
	box-shadow: 10px 10px 5px #888888;
	border:1px solid #000000;
	
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
	
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
	
	-moz-border-radius-topright:4px;
	-webkit-border-top-right-radius:4px;
	border-top-right-radius:4px;
	
	-moz-border-radius-topleft:4px;
	-webkit-border-top-left-radius:4px;
	border-top-left-radius:4px;
}.CSSTableGenerator table{
    border-collapse: collapse;
        border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}.CSSTableGenerator tr:last-child td:last-child {
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
}
.CSSTableGenerator table tr:first-child td:first-child {
	-moz-border-radius-topleft:4px;
	-webkit-border-top-left-radius:4px;
	border-top-left-radius:4px;
}
.CSSTableGenerator table tr:first-child td:last-child {
	-moz-border-radius-topright:4px;
	-webkit-border-top-right-radius:4px;
	border-top-right-radius:4px;
}.CSSTableGenerator tr:last-child td:first-child{
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
}.CSSTableGenerator tr:hover td{
	/*background-color:#ffffff;*/
		

}
.CSSTableGenerator td{
	vertical-align:middle;
	
	background-color:#8c857e;

	border:1px solid #000000;
	border-width:0px 1px 1px 0px;
	text-align:center;
	padding:0px;
	font-size:12px;
	font-family:Helvetica;
	font-weight:normal;
	color:#f9f4f4;
}.CSSTableGenerator tr:last-child td{
	border-width:0px 1px 0px 0px;
}.CSSTableGenerator tr td:last-child{
	border-width:0px 0px 1px 0px;
}.CSSTableGenerator tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}
.CSSTableGenerator tr:first-child td{
		background:-o-linear-gradient(bottom, #3b3bbf 5%, #56aaff 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3b3bbf), color-stop(1, #56aaff) );
	background:-moz-linear-gradient( center top, #3b3bbf 5%, #56aaff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b3bbf", endColorstr="#56aaff");	background: -o-linear-gradient(top,#3b3bbf,56aaff);

	background-color:#3b3bbf;
	border:0px solid #000000;
	text-align:center;
	border-width:0px 0px 1px 1px;
	font-size:14px;
	font-family:Helvetica;
	font-weight:bold;
	color:#ffffff;
}
.CSSTableGenerator tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #3b3bbf 5%, #56aaff 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3b3bbf), color-stop(1, #56aaff) );
	background:-moz-linear-gradient( center top, #3b3bbf 5%, #56aaff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b3bbf", endColorstr="#56aaff");	background: -o-linear-gradient(top,#3b3bbf,56aaff);

	background-color:#3b3bbf;
}
.CSSTableGenerator tr:first-child td:first-child{
	border-width:0px 0px 1px 0px;
}
.CSSTableGenerator tr:first-child td:last-child{
	border-width:0px 0px 1px 1px;
}

</style>

<script type="text/javascript">

var text0 = ["9", "11", "4","20","3","7","14","6","1","3","10"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem = document.getElementById("b");
	//alert(text[counter]);
     elem.innerHTML = text0[counter];
        counter++;
        if(counter >= text0.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var text1 = ["30025", "30964", "30478","29654","29000","30015","29074","28954","28555","28032","28156"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem2 = document.getElementById("bp");
	//alert(text[counter]);
     elem2.innerHTML = text1[counter];
        counter++;
        if(counter >= text1.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var text2 = ["6", "11", "5","12","3","17","4","9","1","13","0"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem1 = document.getElementById("s");
	//alert(text[counter]);
     elem1.innerHTML = text2[counter];
        counter++;
        if(counter >= text2.length) { counter = 0; }
    }
</script>

<script type="text/javascript">
var text3 = ["30655", "30813", "30253","29654","28555","30964","30025","29074","29654","30253","30015"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem3 = document.getElementById("sp");
	//alert(text[counter]);
     elem3.innerHTML = text3[counter];
        counter++;
        if(counter >= text3.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var text4 = ["6.001", "6.011", "6.066","6.031","6.152","6.011","6.042","6.050","6.031","5.990","6.021"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem3 = document.getElementById("vol");
	//alert(text[counter]);
     elem3.innerHTML = text4[counter];
        counter++;
        if(counter >= text4.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var text5 = ["174592.63", "182200.36", "185214.02","178521.65","1925426.96","185219.30","187412.00","179632.03","178521.55","175632.11","189592.63"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem3 = document.getElementById("vl");
	//alert(text[counter]);
     elem3.innerHTML = text5[counter];
        counter++;
        if(counter >= text5.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var text6 = ["1.63", "0.36", "0.02","1.65","-0.96","0.30","2.00","2.03","1.55","0.11","-0.63"];

    var counter = 0;
   
    setInterval(change, 2000);
	
    function change() {
	 var elem3 = document.getElementById("change");
	//alert(text[counter]);
     elem3.innerHTML = text6[counter];
        counter++;
        if(counter >= text6.length) { counter = 0; }
    }
</script>
<!---------------------------------------------------------   silver--------------------------------------->
<script>
var texts0 = ["2", "9", "4","0","13","7","14","5","8","6","12"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem = document.getElementById("sbid");
	//alert(text[counter]);
     elem.innerHTML = texts0[counter];
        counter++;
        if(counter >= texts0.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texts1 = ["48120", "48709", "47963","47320","47025","46896","45000","49230","46562","47223","48510"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem2 = document.getElementById("sbp");
	//alert(text[counter]);
     elem2.innerHTML = texts1[counter];
        counter++;
        if(counter >= texts1.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texts2 = ["0", "9", "8","1","3","12","5","7","6","10","13"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem1 = document.getElementById("ssid");
	//alert(text[counter]);
     elem1.innerHTML = texts2[counter];
        counter++;
        if(counter >= texts2.length) { counter = 0; }
    }
</script>

<script type="text/javascript">
var texts3 = ["46001", "47000", "49634","48510","47853","48123","48035","46096","47890","47455","47263"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem3 = document.getElementById("ssp");
	//alert(text[counter]);
     elem3.innerHTML = texts3[counter];
        counter++;
        if(counter >= texts3.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texts4 = ["3.001", "2.201", "1.066","1.031","-0.152","2.011","-0.042","1.050","1.031","-0.990","2.021"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem3 = document.getElementById("vol1");
	//alert(text[counter]);
     elem3.innerHTML = texts4[counter];
        counter++;
        if(counter >= texts4.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texts5 = ["465000.56", "468920.11", "475772.36","489632.22","484446.00","465562.56","471420.89","472555.24","465562.56","489633.05","478932.99"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem3 = document.getElementById("vl1");
	//alert(text[counter]);
     elem3.innerHTML = texts5[counter];
        counter++;
        if(counter >= texts5.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texts6 = ["0.63", "0.36", "0.12","1.85","-1.96","0.30","2.10","1.03","1.05","0.21","-0.85"];

    var counter = 0;
   
    setInterval(change, 1500);
	
    function change() {
	 var elem3 = document.getElementById("change1");
	//alert(text[counter]);
     elem3.innerHTML = texts6[counter];
        counter++;
        if(counter >= texts6.length) { counter = 0; }
    }
</script>

<!---------------------------------------------------------------silver end---------------------------------------------------------------->
<!----------------------------------------------------------------aluminium---------------------------------------------------------------->
<script>
var texta0 = ["22", "19", "40","15","9","11","43","51","80","16","25"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem = document.getElementById("abid");
	//alert(text[counter]);
     elem.innerHTML = texta0[counter];
        counter++;
        if(counter >= texta0.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texta1 = ["107.3", "108.23", "110.5","109.4","110.8","109.1","108.9","109.5","109.4","110.1","109.2"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem2 = document.getElementById("abp");
	//alert(text[counter]);
     elem2.innerHTML = texta1[counter];
        counter++;
        if(counter >= texta1.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texta2 = ["107.99", "109.3", "111.8","109.9","111.2","110.6","109.5","110.5","110.1","112.8","111.5"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem1 = document.getElementById("asp");
	//alert(text[counter]);
     elem1.innerHTML = texta2[counter];
        counter++;
        if(counter >= texta2.length) { counter = 0; }
    }
</script>

<script type="text/javascript">
var texta3 = ["13", "25", "11","22","10","8","30","19","44","29","24"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem3 = document.getElementById("asid");
	//alert(text[counter]);
     elem3.innerHTML = texta3[counter];
        counter++;
        if(counter >= texta3.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texta4 = ["0.01", "0.21", "1.66","1.01","-0.12","0.01","-0.42","1.10","0.01","-0.90","1.21"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem3 = document.getElementById("vol2");
	//alert(text[counter]);
     elem3.innerHTML = texta4[counter];
        counter++;
        if(counter >= texta4.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texta5 = ["1562.23", "1642.10", "1524.56","1654.22","1700.00","1654.78","1632.09","1504.24","1689.07","1744.01","1784.90"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem3 = document.getElementById("vl2");
	//alert(text[counter]);
     elem3.innerHTML = texta5[counter];
        counter++;
        if(counter >= texta5.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var texts6 = ["0.2", "0.10", "0.12","1.85","-1.96","0.30","1.10","1.00","0.18","0.21","-0.85"];

    var counter = 0;
   
    setInterval(change, 1800);
	
    function change() {
	 var elem3 = document.getElementById("change2");
	//alert(text[counter]);
     elem3.innerHTML = texts6[counter];
        counter++;
        if(counter >= texts6.length) { counter = 0; }
    }
</script>
<!----------------------------------------------------------------aluminium end---------------------------------------------------------------------->
<!-- -----------------------------------------------------------Copper------------------------------------------------------------------------------>
<script>
var textc0 = ["11", "9", "22","15","14","21","13","16","22","8","27"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem = document.getElementById("cbid");
	//alert(text[counter]);
     elem.innerHTML = textc0[counter];
        counter++;
        if(counter >= textc0.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var textc1 = ["443.75", "438.23", "425.5","441.4","421.8","447.1","415.9","432.5","417.4","420.1","439.2"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem2 = document.getElementById("cbp");
	//alert(text[counter]);
     elem2.innerHTML = textc1[counter];
        counter++;
        if(counter >= textc1.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var textc2 = ["444.8", "439.04", "426.00","448.2","422.2","449.6","419.5","439.5","421.1","425.8","441.5"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem1 = document.getElementById("csp");
	//alert(text[counter]);
     elem1.innerHTML = textc2[counter];
        counter++;
        if(counter >= textc2.length) { counter = 0; }
    }
</script>

<script type="text/javascript">
var textc3 = ["13", "25", "11","22","10","8","10","19","4","9","14"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem3 = document.getElementById("csid");
	//alert(text[counter]);
     elem3.innerHTML = textc3[counter];
        counter++;
        if(counter >= textc3.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var textc4 = ["0.65", "0.15", "1.42","1.21","-0.12","0.01","-0.42","1.10","0.01","-0.90","1.21"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem3 = document.getElementById("vol3");
	//alert(text[counter]);
     elem3.innerHTML = textc4[counter];
        counter++;
        if(counter >= textc4.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var textc5 = ["1562.23", "1642.10", "1524.56","1654.22","1700.00","1654.78","1632.09","1504.24","1689.07","1744.01","1784.90"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem3 = document.getElementById("vl3");
	//alert(text[counter]);
     elem3.innerHTML = textc5[counter];
        counter++;
        if(counter >= textc5.length) { counter = 0; }
    }
</script>
<script type="text/javascript">
var textc6 = ["0.2", "0.10", "0.12","1.85","-1.96","0.30","1.10","1.00","0.18","0.21","-0.85"];

    var counter = 0;
   
    setInterval(change, 2200);
	
    function change() {
	 var elem3 = document.getElementById("change3");
	//alert(text[counter]);
     elem3.innerHTML = textc6[counter];
        counter++;
        if(counter >= textc6.length) { counter = 0; }
    }
</script>
<!---------------------------------------------------------------Copper End----------------------------------------------------------------------->
<body>


<div class="CSSTableGenerator"  style="width:2000px;">
                <table style="width:2800px;">
                    <tr>
                        <td>Exchange</td>                      
                    
                        <td>Code</td>
                        <td>Symbol</td>
                        <td>Ser/Exp</td>
                             
                        <td>Buy Qty</td>
                        <td>Buy Price</td>
                        <td>Sell Price</td>
                        <td>Sell Qty</td>
                      
                        <td>Volume (in 000s)</td>
                        <td>Volume (in Lacs)</td>
                        <td>% Change</td>
                    
                        <td>High</td>
                        <td>Low</td>
                        <td>Open</td>
                       
                     </tr>
                    <tr>
                        <td id="" >NCMX</td>
                        <td onclick="window.open('buy.html','popupWindow','toolbar=no,location=no,top=300,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1200,height=230')">  GOLD  05APR2014</td>
                        <td>206803</td>
                         <td onclick="window.open('sell.html','popupWindow','toolbar=no,location=no,top=300,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1200,height=230')">GOLD</td>
                       
                        <td id="b" ></td>
                         <td id="bp" >28956</td>
                        <td id="sp" >28960</td>
                        <td id="s" >1</td>
                        
                        <td id="vol" >6.031</td>
                         <td id="vl" >174592.63</td>
                        <td id="change" >0.72</td>                     
                         <td >29005</td>
                        <td>28825 </td>
                        <td>28850</td>
                                
                        </tr>
                  <tr>
                        <td  >NCMX</td>
                        <td>  SILVER 30-Mar-14</td>
                        <td>20790</td>
                         <td >SILVER</td>
                        
                        <td id="sbid" >3</td>
                         <td id="sbp" >46562</td>
                        <td id="ssp" >46565</td>
                        <td id="ssid" >9</td>
                         
                        <td id="vol1" >6.031</td>
                         <td id="vl1" >465562.56</td>
                        <td id="change1" >0.25</td>                     
                        
                        <td>49625.00</td>
                         <td >46552.2</td>
                     
                        
                        
                        <td>46332.0</td>          
                        </tr> 
			<tr>
                        <td  >NCMX</td>
                        <td>  ALUMINIUM 30-Mar-14</td>
                        <td>207065</td>
                         <td >ALUMINIUM</td>
                        
                        <td id="abid" >3</td>
                         <td id="abp" >107.3</td>
                        <td id="asp" >107.35</td>
                        <td id="asid" >9</td>
                       
                        <td id="vol2">6.031</td>
                         <td id="vl2" >465562.56</td>
                        <td id="change2" >0.25</td>                     
                        
                        <td>107.45</td>
                         <td >106.95</td>
                     
                        
                        
                        <td>107.1</td>          
        </tr> 
		<tr>
                        <td  >NCMX</td>
                        <td>  COPPER 30-Mar-14</td>
                        <td>208258</td>
                         <td >COPPER</td>                       
                        <td id="cbid" >3</td>
                         <td id="cbp" >107.3</td>
                        <td id="csp" >107.35</td>
                        <td id="csid" >9</td>                      
                        <td id="vol3" >6.031</td>
                         <td id="vl3" >465562.56</td>
                        <td id="change3" >0.25</td>                         
                        <td>444.4</td>
                         <td >440.9</td>                       
                        <td>444</td>          
         </tr> 
                </table>
            </div>
            
</body>
</html>
